#ifndef __MATHHELPER__
#define __MATHHELPER__

#include <cmath>

struct MathHelper
{
	static const double Pi;

	template<typename T>
	static float DegreesToRadians(const T &val)
	{
		return val * (Pi / 180);
	}
};

inline void sincosf(const float &rad, float &s, float &c)
{
	s = sinf(rad);
	c = cosf(rad);
}

#endif